import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import axios from './utils/axios';
import Antd, { message } from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

import './assets/style/common.css';

import './assets/js/iconfont';
import SvgIcon from './components/svg-icon';
const app = createApp(App);
app.component('SvgIcon', SvgIcon);
app.config.globalProperties.$message = message;
app.config.globalProperties.$fetch = axios;
app.config.devtools = true;
app
  .use(router)
  .use(store)
  .use(Antd)
  .mount('#app');
